//
//  UserinfoForVisitor.swift
//  youpeng
//
//  Created by 邓书哲 on 2022/12/12.
//

import Foundation

/// UserForVisitor
// MARK: - UserForVisitor
struct UserForVisitor: Codable {
    let baseInformation: UserBrief
    let educationInformation: EducationInformationForVisitor
    let platformInformation: PlatformInformationForVisitor
}

// MARK: - EducationInformation
struct EducationInformationForVisitor: Codable {
    /// 学院
    let college: String
    /// 学位
    let degree: String
    /// 年级
    let grade: String
    /// 专业
    let major: String
    /// 学校
    let school: String
}

// MARK: - PlatformInformation
struct PlatformInformationForVisitor: Codable {
    /// 参加活动
    let attendedEvent: [EventBrief]?
    /// 收藏活动
    let favoritedEvent: [EventBrief]?
    /// 组织活动
    let organizedEvent: [EventBrief]?
    /// 粉丝列表
    let followers: [UserBrief]
    /// 粉丝数
    let followersCount: Int
    /// 关注列表
    let following: [UserBrief]
    /// 关注人数
    let followingCount: Int
    
}
